import {Component, OnInit} from '@angular/core';
import {MenuServiceService} from '../menu-service.service';
/**
 * @title Basic use of the tab nav bar
 */
@Component({
  selector: 'app-nav-tab-bar',
  templateUrl: 'nav-tab.component.html',
  styleUrls: ['nav-tab.component.less'],
})
export class NavTabComponent implements  OnInit{

  links;
  constructor(private menuService: MenuServiceService) {

  }

  activeLink = undefined;

  ngOnInit(): void {
    this.links = this.menuService.getMenus();
  }

}
